package com.shanshan.system.controller;

import com.shanshan.system.service.PeriodService;
import com.shanshan.system.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author keluoyisi
 * @program: shanshan
 * @description:
 * @date 2023-02-10 17:27:41
 */
@RestController
@RequestMapping("/system/period")
@SuppressWarnings("all")
public class PeriodController {

    @Autowired
    private PeriodService periodService;
    @PostMapping("/list")
    public Result selectPeriodAll(){
        return periodService.selectPeriodAll();
    }
}
